package com.love.marriage.datingRegistrationInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  约会报名表类
 * author:       mybatisPlus
 * createDate: 2024-10-15 23:02:33
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("dating_registration_info_t")
@Schema(description = "约会报名表")
public class DatingRegistrationInfo extends BaseEntity<DatingRegistrationInfo>{

    @Schema(description = "约会ID，关联约会表", type = "Long", implementation = Long.class)
    @TableField("dating_id")
    private Long datingId;

    @Schema(description = "报名人ID，关联用户表", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "报名时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("registration_time")
    private LocalDateTime registrationTime;

    @Schema(description = "报名状态", type = "String", implementation = String.class)
    @TableField("`status`")
    private String status;

    @Schema(description = "支付金额", type = "BigDecimal", implementation = BigDecimal.class)
    @TableField("pay_amount")
    private BigDecimal payAmount;

}
